<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8" />
    <title>添加成功</title>
    <script type="text/javascript" src="/static/cart/js/jquery-3.1.1.min.js"></script>
    <script type="text/javascript" src="/static/cart/bootstrap/js/bootstrap.js"></script>
    <script type="text/javascript" src="/static/cart/js/swiper.min.js"></script>
	<script src="/static/cart/js/swiper.min.js"></script>
    <link rel="stylesheet" type="text/css" href="/static/cart/css/swiper.min.css" />
    <link rel="stylesheet" type="text/css" href="/static/cart/bootstrap/css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="/static/cart/css/success.css" />

 </head>

    <body>
    <!--头部-->
    <div class="alert-info">
        <div class="hd_wrap_top">
        <ul class="hd_wrap_left">
        <li class="hd_home"><i class="glyphicon glyphicon-home"></i>
        <a href="https://48u4939222.eicp.vip">瑶瑶商城首页</a>
        </li>

        </ul>

        <ul class="hd_wrap_right">
            <span style="width: 150px">
                <a  th:if="${session.loginUser==null}" href="https://48u4939222.eicp.vip/auth/login.html" class="link_login">你好,请登录</a>&nbsp;
                <a  th:if="${session.loginUser!=null}" href="#">您好，[[${session.loginUser.nickname}]]</a>
                <a  th:if="${session.loginUser==null}" href="https://48u4939222.eicp.vip/auth/register.html" class="link_regist">免费注册</a>
            </span>
           <li class="forel">

        </li>
        <li class="spacer"></li>

        <li>
        <a href="/static/cart//javascript:;">我的订单</a>
        </li>



        </ul>

        </div>
      </div>

        <div class="nav-tabs-justified">
        <div class="nav_wrap">

        <div class="nav_top">
        <div class="nav_top_one">
        <a href="https://48u4939222.eicp.vip"><img src="/static/cart/img/jylogo.png"  style="height: 60px;wid180px;"  /></a>
        </div>
        <div class="nav_top_two"><input type="text" /><button>搜索</button></div>





    </div>

    </div>
    </div>

    <div class="main">

        <div class="success-wrap">
        <div class="w" id="result">
        <div class="m succeed-box">


        <div th:if="${orderSn!=null}" class="mc success-cont">
            <h1>秒杀成功,订单号: [[${orderSn}]]</h1>
            <h2>正在准备订单数据，请十秒之后自动跳转支付 <span><a th:href="${'https://48u4939222.eicp.vip/order/payOrder?orderSn='+orderSn}">去支付</a></span></h2>

        </div>
        <div th:if="${orderSn == null}">
            <h1>手气不好，秒杀失败，请下次再来</h1>
        </div>
    </div>
    </div>
    </div>

    </div>
    </body>
    <script type="text/javascript" src="/static/cart/js/success.js"></script>

</html>
